package com.zc.study.designPattern.结构型设计模式.bridgePattern;

/**
 * BMP格式图像:扩充抽象类
 *
 */
public class BMPImage extends Image {
    @Override
    public void parseFile(String fileName) {
        //模拟解析BMP矩阵获得一个像素矩阵对象m
        Matrix m = new Matrix();
        imp.doPaint(m);
        System.out.println(fileName+",格式为BMP");
    }
}
